#include "function.h"
#include "Div.h"

Div::Div(Function * a, Function * b)
	: a_(new Function(a)), b_(new Function(b)) 
{}

Div::~Div(){
	delete a_;
	delete b_;
}

double Div::value (double x){
	return a_ -> value(x) / b_ -> value(x);
}

